#ifndef RENDERER_H
#define RENDERER_H
#include "GlobalBase.h"
#include "RendererLib/3DSLoader/3DSLoader.h"
class Renderer
{
	int _winmode;
	int width, height;
	Uint32 lastUpdateTime;
	Uint32 lastDrawTime;
	Uint32 updateInterval;
	Uint32 drawInterval;
	C3DSLoader m_3dsLoader;
	double rot_chair_x, rot_chair_y;
public:
	Renderer();
	~Renderer();
	void Loop();	
	void Quit();	
private:	
	void Init();
	void InitTexture();
	void reshape(int w, int h);
	void Draw();
	void Update();
	void HandleEvent(const SDL_Event &event);
private:
};

#endif
